package shopping.feign.call.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import shopping.feign.call.configuration.ShoppingFeignConfiguration;

@FeignClient(name = "shopping-feign", configuration = ShoppingFeignConfiguration.class)
public interface ShoppingFeignClient {
  @GetMapping("/order/reduce/{productId}")
  String reduce(@PathVariable("productId") String productId);
}
